package com.flyco.modules.cms.service;

import com.flyco.modules.cms.entity.CmsImageTagProduct;
import com.flyco.modules.cms.entity.CmsImageTag;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 活动图标管理
 * @Author: flyco
 * @Date:   2019-12-25
 * @Version: V1.0
 */
public interface ICmsImageTagService extends IService<CmsImageTag> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(CmsImageTag cmsImageTag, List<CmsImageTagProduct> cmsImageTagProductList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(CmsImageTag cmsImageTag, List<CmsImageTagProduct> cmsImageTagProductList);
	
	/**
	 * 删除一对多
	 */
	public void delMain(Long id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain(Collection<? extends Serializable> idList);
	
}
